import { ToRef } from 'vue';

interface rulesItemType {
  required: boolean;
  message: string;
  trigger: Array<string>;
}

interface elItemConfigType {
  label: string;
  propName: string;
  rules: Array<rulesItemType>;
}

interface elIntConfigType {
  intType: string;
  injectName: string;
  value1: ToRef<any>;
}

interface inputConfigType {
  elItemConfig?: elItemConfigType;
  elIntConfig?: elIntConfigType;
}

export { rulesItemType, elItemConfigType, elIntConfigType, inputConfigType };
